package com.jingdianjichi.subject.domain.service;

import com.jingdianjichi.subject.domain.entity.SubjectCategoryBO;
import com.jingdianjichi.subject.domain.entity.SubjectLabelBO;

import java.util.List;

/**
 * ClassName:SubjectCategoryDomainService
 * Package:IntelliJ IDEA
 * Description:
 *
 * @Author xiaoming
 * @Create 2025/2/16 14:14
 * @Version 1.0
 */
public interface SubjectLabelDomainService {
    /**
     * 新增标签
     *
     * @param subjectLabelBO
     * @return
     */
    Boolean add(SubjectLabelBO subjectLabelBO);

    /**
     * 更新标签
     *
     * @param subjectLabelBO
     * @return
     */
    Boolean update(SubjectLabelBO subjectLabelBO);

    /**
     * 删除标签
     *
     * @param subjectLabelBO
     * @return
     */
    Boolean delete(SubjectLabelBO subjectLabelBO);

    /**
     *  查询分类下标签
     * @param subjectLabelBO
     * @return
     */
    List<SubjectLabelBO> queryLabelByCategoryId(SubjectLabelBO subjectLabelBO);
}
